#define COMMAND_GET_VALUE_CODE(IP_STORE, VALUE, VALUE_CODE) do{\
    if (VALUE[0] != '\0')\
    {\
        if (0 != ipstore_get_##VALUE##_code(IP_STORE, VALUE, VALUE_CODE))\
        { \
            sprintf(error_message, "get %s code error", #VALUE);\
            return 1;\
        }\
    }\
}while(0)

#define COMMAND_GET_ARG_STRING(command, key, value) do {\
    if (0 != command_get_arg_string(command, key, value))\
    {\
        sprintf(error_message, "%s", "command parse error");\
        return 1;\
    }\
}while(0);

